package com.imooc.bilibili.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 *  数据权限
 *
 * @author gcq
 * @Create 2022-06-01
 */
// 运行时有效
@Retention(RetentionPolicy.RUNTIME)
// 作用在方法上
@Target({ElementType.METHOD})
@Documented
@Component
public @interface DataLimited {

    String[] limitedRoleCodeList() default {};
}